<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

<!--    <div class="form-group">-->
<!--        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_id')}:</label>-->
<!--        <div class="col-xs-12 col-sm-8">-->
<!--            <input id="c-goods_id" data-rule="required" data-source="goods/index" class="form-control selectpage" name="row[goods_id]" type="text" value="{$row.goods_id|htmlentities}">-->
<!--        </div>-->
<!--    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Storehouse_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-storehouse_id" data-rule="required" data-source="data/storehouse/index" class="form-control selectpage" name="row[storehouse_id]" type="text" value="{$row.storehouse_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stock_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stock_num" data-rule="required" class="form-control" name="row[stock_num]" type="number" value="{$row.stock_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('upper_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-upper_num" data-rule="required" class="form-control" name="row[upper_num]" type="number" value="{$row.upper_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('keep_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-keep_num" data-rule="required" class="form-control" name="row[keep_num]" type="number" value="{$row.keep_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_monitor')}:</label>
        <div class="col-xs-12 col-sm-8">
<!--            <input id="c-is_monitor" data-rule="required" class="form-control" name="row[is_monitor]" type="number" value="{$row.is_monitor|htmlentities}">-->
            <select name="row[is_monitor]" id="" class="form-control" >
                <option value="0" {if condition="$row.is_monitor==0"} selected{else /} {/if}>不监控</option>
                <option value="1" {if condition="$row.is_monitor==0"} selected{else /} {/if}>监控</option>
            </select>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
